package com.taotao.delayjob.example;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@Slf4j
@SpringBootApplication(scanBasePackages = {"com.taotao.delayjob.example","com.taotao.delayjob.core"})
@EnableTransactionManagement
@EnableAspectJAutoProxy(exposeProxy = true)
public class DelayJobLite {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(DelayJobLite.class, args);


        log.info("----------------start-----------------");


    }
}
